<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  	<style type="text/css">
			.form-horizontal .control-label3 {
				padding-top: 10px;
				width: 100px;
			}
		</style>
  </head>
<body>
     <div class="widget-box">
        <div class="widget-title"> <span class="icon"> <i class="icon-briefcase"></i> </span>
          <h5 >问卷信息</h5>
        </div>
			  <div class="widget-content">
        <form action="/survey/reback/showSurveyReback.html" method="post" class="form-horizontal" id="surveyBackForm">
			          <div class="row-fluid">
			            <div class="span8">
			              <table style="font-size:12px;" cellspacing="20">
			                <tbody>
			                  <tr>
			                    <td><h3>
			                    <s:if test='model.tab=="1"'>
			                    	${model.company_name }
				                   </s:if>              
			                    <s:else>
				                     ${model.assess_user_nm }
				                  </s:else>
			                    </h3></td>
			                  </tr>
			                  <tr>
			                    <td>发放问卷：<span style="font-size:14px;"><strong>${model.survey_name }</strong></span></td>
			                  </tr>
			                  <tr>
			                    <td>发送问卷共：<span class="badge badge-important">${model.send_counts }</span>份</td>
			                  </tr>
			                  <tr>
			                    <td>&nbsp;&nbsp;其中自评：<span class="badge">${model.self_counts }</span>份；
			                                                                上级：<span class="badge badge-success">${model.superiop_counts }</span>份；
			                                                                平级：<span class="badge badge-warning">${model.equal_counts }</span>份；
			                                                                下级：<span class="badge badge-info">${model.subordinate_counts }</span>份</td>
			                  </tr>
			                </tbody>
			              </table>
			            </div>
			            <div class="span4">
			              <table class="table table-bordered table-invoice" style="font-size:12px;">
			                <tbody>
			                  <tr></tr>
			                  <tr>
			                    <td style="width:40%">发放开始时间:</td>
			                    <td style="width:60%"><strong>${model.send_start_dt }</strong></td>
			                  </tr>
			                  <tr>
			                    <td>发放结束时间:</td>
			                    <td><strong>${model.send_end_dt }</strong></td>
			                  </tr>
			                  <tr>
			                    <td>发放状态:</td>
			                    <td><strong>${model.survey_flg_name }</strong></td>
			                  </tr>
			                  </tbody>
			              </table>
			            </div>
			          </div>
			          <hr/>
			          <div class="row-fluid">
			            <div class="span12">
			              <table class="table table-bordered table-invoice-full" style="font-size:12px;">
			                <thead>
			                  <tr>
			                    <th class="head0">回收状态</th>
			                    <th class="head1">被评价人数</th>
			                    <th class="head0 right">发放数</th>
			                    <th class="head1 right">回答数[已提交]</th>
			                    <th class="head0 right">保存数[未提交]</th>
			                    <th class="head1 right">未回答数</th>
			                    <th class="head0 right">问卷回收率</th>
			                  </tr>
			                </thead>
			                <tbody>
			                  <tr>
			                    <td align="center">${model.survey_flg_name }</td>
			                    <td align="right">
			                    <s:if test='model.tab=="1"'>			                    
			                    ${model.assess_user_counts }
			                    </s:if>
			                    <s:else>1</s:else>
			                    </td>
			                    <td align="right">${model.send_counts }</td>
			                    <td align="right">${model.submit_counts }</td>
			                    <td align="right">${model.save_counts }</td>
			                    <td align="right">${model.unanswered_counts }</td>
			                    <td align="right"><span class="label label-important"><strong>${model.recycling_rate }</strong></span></td>
			                  </tr>
			                </tbody>
			              </table>
			          </div>
			        </div>
			        <div class="modal-footer">
			        	<a href="#" class="btn btn-primary" data-dismiss="modal" onclick="closeDialog();" >关闭</a>
			        </div>
        </form>
		    </div>
     </div>
  </body>
  	<link rel="stylesheet" href="<%=request.getContextPath() %>/css/bootstrap.min.css" />
		<link rel="stylesheet" href="<%=request.getContextPath() %>/css/matrix-style.css" />
  	<script type="text/javascript" src="<%=request.getContextPath() %>/js/lhgdialog/dialogUtil.js"></script>
		<link href="<%=request.getContextPath() %>/font-awesome/css/font-awesome.css" rel="stylesheet" />	
</html>
